<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <title>自定义下单</title>
    <link rel="stylesheet" type="text/css" href="./css/style.css">
    <link rel="stylesheet" type="text/css" href="css/custom_Order201906171620.css">
    <link rel="stylesheet" type="text/css" href="../js/cube-ui/cube.min.css"/>
    <script type="text/javascript" src="../js/set_root.js"></script>
</head>

<body>
    <div class="con" id="app" v-cloak>
        <div class="header">
            <div class="bbline"></div>
            <span class="header-fanhui" @click="goback()">返回</span>
            <em>自定义下单</em>
        </div>


          <div class="search-input">
              <ul>
                  <li><cube-input type="text" id="brandName" v-model="brandName" @focus="getFocus()" placeholder="请输入品牌名"></cube-input></li>
                  <!-- <li><cube-input class="search-inputFullName" type="text" :dir="[fullName.length > 10 ? 'rtl' : '']" id="fullName" v-model="fullName" placeholder="请输入商品名"></cube-input></li> -->
                  <li><cube-input type="text" id="fullName" v-model="fullName" placeholder="请输入商品名"></cube-input></li>
                  <li><cube-input type="text" id="valueName" v-model="valueName" placeholder="请输入规格参数"></cube-input></li>
              </ul>
              <button type="submit" class="search-btn" @click="placeOrder()">提交</button>
          </div>

        <div class="brand-layer" ref="brandLayer" v-show="brandName&&brandlist&&brandlist.length>0" :style="Style">
          <ul>
            <li v-for="(brand,index) in brandlist" :key="brand.brandId" @click="getBrand(index)">{{brand.name}}</li>
          </ul>
        </div>
        <!-- <section class="shop-content" v-infinite-scroll="loadMore" infinite-scroll-disabled="loading" infinite-scroll-distance="8">
            <ul v-if="resultList&&resultList.length>0">
                <li v-for="(result,index) in resultList" :key="result.goodsSkuId">
                    <img class="shop_photo" :src="result.image" />
                    <div class="shop_info">
                        <h3>{{result.fullName}}</h3>
                        <p>最低价：<span>{{result.minPrice}}</span>元 <em>{{result.minSupermarket}}</em></p>
                        <span class="shop_price" @click="otherPrice(index)">查看其它超市价格</span><span class="count" @click="cartdialogShow(index)">加入购物车</span>
                    </div>
                </li>
            </ul>
        </section> -->
        <!-- <div class="place-order"  v-if="resultList&&resultList.length==0">
          <button type="submit" id="place-order" @click="placeOrder()">直接下单</button>
        </div> -->

        <!-- <div class="layer" v-show="dialogShow">
          <div class="layerbg"></div>
          <div class="layer-container">
            <div class="layer_other" v-show="otherMarket">
              <h1>其它超市价格</h1>
              <h3>{{name}}</h3>
              <div class="market">
                <ul>
                  <li v-for="market in marketlist" :key="market.markerName"><p>{{market.supermarketName}}</p><span>{{market.price}}</span></li>
                </ul>
              </div>
              <div class="rate">价差率：{{spreadRate}}%</div>
              <div class="buy_sure"><span @click="btnCancel()">确定</span></div>
            </div>
            <div class="layer_cart" v-show="cartShow">
              <h1>选择数量</h1><span class="layer_reduce" @click="btnReduce()"></span><h3>{{num}}</h3><span class="layer_plus" @click="btnPlus()"></span>
              <div class="layer_button"><span class="layer_cancel" @click="btnCancel()">取消</span><span class="layer_ok" @click="btnOk()">确定</span></div>
            </div>
            <div class="layer_other" v-show="tipshow">
              <h1>温馨提示</h1>
              <h3 v-html="tips"></h3>
              <div class="buy_cancel"><span @click="btnCancel()">确定</span></div>
            </div>
          </div>
        </div> -->

        <!-- <div class="toast" v-show="errMsg"><span v-html="errMsg"></span></div> -->
    </div>

    <script type="text/javascript" src="../js/vue.js"></script>
    <script type="text/javascript" src="../js/axios.min.js"></script>
    <script src="../js/fetch20190612.js"></script>
    <script type="text/javascript" src="../js/cube-ui/cube.min.js"></script>
    <script type="text/javascript" src="js/custom_Order201902261920.js"></script>
    <script type="text/javascript" src="../js/check.js"></script>
</body>
</html>
